<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * form.php
 * @author ranuandra
 *
 * 22 Jul 2012 22:33:05
 *
 * 
 */
?>
         <div class="toolbar-wrapper">
            	<div class="toolbar-container">
                    <ul class="toolbar">
                        <li><a href="<?php echo URL::base()?>admin/quote" class="New"><span class="medium_icon_new"></span></a></li>
                    </ul>
                </div>
            	<h1 class="title">Form Quotes</h1>
            </div>
                 <div class="form-container">
	              
	                  <?php echo Form::open(URL::base().'admin/quote/save')?>

	                  <fieldset>
	                      <legend>Quote</legend>
	                          <div><label for="uname">Text <em>*</em></label> 
	                          		<?php echo Form::input('quote', $form['quote'], array())?>
	                          </div>
	                          <div><label for="uname">Quote By <em>*</em></label> 
	                          		<?php echo Form::input('quoteby', $form['quoteby'], array())?>
	                          </div>
	                  </fieldset>
	                  
	                  <div class="buttonrow">
	                  		<?php echo Form::submit('submit', 'Save', array('class'=>'button'))?>
	              
	                      <input type="button" value="Discard" class="button" />
	                  </div>
	                  
	              
	                 <?php 
	                 if(isset($form['id']))
	                 {
	                	echo Form::hidden('id', $form['id']);
	                 }
	                 echo Form::close()
	                 ?>
	                 </div><!-- /form-container -->